<% @stylesheets = ["form"]
   @title = "Accedi" %>

<div class="form">
  <table class="formSection">
    <% form_for @account_session, :url => account_session_path do |f| %>
    <%= f.error_messages %>
    <caption>Inserisci le credenziali per il login</caption>
    <tr>
      <td><%= f.label :login %></td>
      <td><%= f.text_field :login %></td>
    </tr>
    <tr>
      <td><%= f.label :password %></td>
      <td><%= f.password_field :password %></td>
    </tr>
    <tr>
      <td colspan="2"><%= f.check_box :remember_me %><%= f.label :remember_me %></td>
    </tr>
  </table>
  <span class="button"><%= f.submit "Login" %></span>
  <span style="clear: both">&nbsp;</span>
  <% end %>
</div>